package kr.ac.inha.biselab.bioMonitor;

public class SamplingRate {
	private int[] emg;
	private int[] encoder;
	private int[] adc;
	private int sample;
	public SamplingRate() {
		emg = new int[] {2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000};
		encoder = new int[] {2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000};
		adc = new int[] {2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000, 2000};
		sample = 2000;
	}
	public int getEmg(int index) {
		return emg[index];
	}
	public int[] getEmg() {
		return emg;
	}
	public void setEmg(int[] emg) {
		this.emg = emg;
	}
	public void setEmg(int index, int emg) {
		this.emg[index] = emg;
	}
	public int getEncoder(int index) {
		return encoder[index];
	}
	public int[] getEncoder() {
		return encoder;
	}
	public void setEncoder(int[] encoder) {
		this.encoder = encoder;
	}
	public void setEncoder(int index,int encoder) {
		this.encoder[index] = encoder;
	}
	public int getAdc(int index) {
		return adc[index];
	}
	public int[] getAdc() {
		return adc;
	}
	public void setAdc(int[] adc) {
		this.adc = adc;
	}
	public void setAdc(int index, int adc) {
		this.adc[index] = adc;
	}
	public int getSample() {
		return sample;
	}
	public void setSample(int sample) {
		this.sample = sample;
	}
	
}
